<?php
require_once('Zend/XmlRpc/Response/Http.php');

class Extension_XmlRpc_Response_Log extends Zend_XmlRpc_Response_Http
{
    /**
     * Override __toString()
     *
     * @return string
     */
    public function __toString()
    {
        $logger = Kbs::initLog('XmlRpc');
        $logger->log('logged', Zend_Log::INFO);

        return parent::__toString();
    }
}
